package com.yzc.client;

import com.yzc.model.query.base.LoginRequestDTO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

@FeignClient("system-service")
public interface SystemClient {
    @PostMapping("/user/login")
    public Map<String, Object> login(@RequestBody LoginRequestDTO requestDTO);
}
